home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / 3c509drv.zip / NWSRVINS.BAT < prev    next >
DOS Batch File  |  1993-06-01  |  3KB  |  92 lines

  1. echo off
  2. REM %%VER NetWare 386 Drivers Installation Utility Program v2.0a
  3. if %mono%==y goto b&w
  4. ..\install\flushkey
  5. ..\install\check videocard
  6. if errorlevel 1 goto color
  7. :b&w
  8. cls
  9. goto contin
  10. :color
  11. ..\install\get b 31
  12. :contin
  13. type ..\blank2.men
  14.  
  15. ..\install\echoxy 4 28 N E T W A R E     M E N U
  16. ..\install\echoxy 6 17 U P D A T I N G    N E T W A R E    D R I V E R S
  17. ..\install\echoxy 8 14 This utility program updates EtherLink III drivers on
  18. ..\install\echoxy 9 14 NetWare 386 servers.
  19. ..\install\echoxy 11 14 To update the driver on a NetWare 386 server in the SYSTEM
  20. ..\install\echoxy 12 14 volume, the server must be up and you must be logged in with
  21. ..\install\echoxy 13 14 Supervisor rights.  If you want to update the driver in the
  22. ..\install\echoxy 14 14 DOS partition on the server, you must boot the server in DOS.
  23. ..\install\echoxy 15 14 You must physically run the menu utility from that system.
  24.  
  25. ..\install\echoxy 17 24 Continue? (y/n):
  26. ..\install\reply
  27. if errorlevel 122 goto inval
  28. if errorlevel 121 goto getdrv
  29. if errorlevel 111  goto inval
  30. if errorlevel 110  goto netware
  31. if errorlevel 90  goto inval
  32. if errorlevel 89  goto getdrv
  33. if errorlevel 79  goto inval
  34. if errorlevel 78  goto netware
  35. if errorlevel 60  goto inval
  36. if errorlevel 59  goto help
  37. if errorlevel 28  goto inval
  38. if errorlevel 27  goto netware
  39. if errorlevel 1   goto inval
  40.  
  41. :getdrv
  42. ..\install\echoxy 0 0
  43. ..\install\echoxy 17 10 NOTE:  Do not append a backslash (\) at the end of the path.
  44. ..\install\echoxy 19 10
  45. ..\install\get s "       Enter the target path (drive:path):  "
  46.  
  47. if not exist %get%\*.* goto badpath
  48. set tarpath=%get%
  49. ..\install\echoxy 0 0
  50. ..\install\echoxy 19 10
  51. ..\install\echoxy 20 10
  52. ..\install\echoxy 21 10
  53. ..\install\echoxy 21 10
  54. ..\install\get n  "       Update files to %tarpath% (y/n) ? "
  55. if errorlevel 126 goto netware
  56. if errorlevel 89 goto ok
  57. nw386ins
  58.  
  59. :ok
  60. 386\update %tarpath%
  61.  
  62. :inval
  63. ..\install\echoxy 21 10 **** Invalid key, try again. ****
  64. echo 
  65. echo 
  66. echo.
  67. nw386ins
  68.  
  69. :help
  70. ..\install\echoxy 24 1
  71. type 386\ins386.hlp
  72. pause
  73. nw386ins
  74.  
  75. :badpath
  76. echo 
  77. echo 
  78. ..\install\echoxy 19 14 Invalid path or drive not mapped.                      
  79. ..\install\echoxy 20 14 Drive must be mapped before running the Update utility.
  80. ..\install\echoxy 21 14
  81. ..\install\echoxy 22 14 Strike any key to continue.
  82. ..\install\reply
  83. if errorlevel 28 goto ok1
  84. if errorlevel 27 goto netware
  85. :ok1
  86. nw386ins
  87.  
  88. :netware
  89. netware
  90.  
  91.  
  92.